local capabilities = require("lsp.common-config").capabilities
capabilities.offsetEncoding = { "utf-8" }
local opts = {
    capabilities = capabilities,
    ---@diagnostic disable-next-line: unused-local
    on_attach = function(client, bufnr)
        -- local lspComm = require("lsp.common-config")
        -- lspComm.keyAttach(bufnr)
        vim.opt_local.winbar = "%{%v:lua.require('nvim-navic').get_location()%}"
        -- lspComm.shwLinDiaAtom(bufnr)
        -- lspComm.hlSymUdrCursor(client, bufnr)
        -- lspComm.disableFormat(client)
    end,
    handlers = require("lsp.common-config").handlers,
}
return {
    on_setup = function(server)
        server.setup(opts)
    end,
}
